package com.sizu.service;

import com.sizu.common.dto.PurchaseListGoodsDto;
import com.sizu.common.vo.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("purchase-server")
public interface GoodsService {

    @RequestMapping("/tPurchaseList/purchaseGoodsList")
    public ResultEntity purchaseGoodsList(PurchaseListGoodsDto purchaseListGoodsDto);

    //做商品添加的方法
    @RequestMapping("/updatetPurchaseListGoods")
    public ResultEntity updatetPurchaseListGoods(PurchaseListGoodsDto purchaseListGoodsDto);

    //做删除的方法
    @RequestMapping("/deletetPurchaseListGoods")
    public ResultEntity deletetPurchaseListGoods(PurchaseListGoodsDto purchaseListGoodsDto);

}
